import { dialog } from "electron";

function openDirectory() {
  var result = dialog.showOpenDialogSync({ properties: ["openDirectory"] });
  return result[0];
}

let DialogHelper = {
  openDirectory,
};

export default DialogHelper;
